package com.ruoyi.common.core.domain.DTO;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

@Data
public class InsertWithdrawalRecordBO {
    @NotNull(message = "用户id不可为空")
    private Long userId;

    @NotNull(message = "提现金额不可为空")
    private BigDecimal amount;

    private Long bankAccountId;

    @NotNull(message = "支付宝账户id不可为空")
    private Long zfbAccountId;

    @NotBlank(message = "提现渠道不可为空")
    private String channel;
}
